<?php
class Application_Model_DbTable_VisiteurRow extends Zend_Db_Table_Row_Abstract{
    
    public function getNbLanguesParlees(){
        return $this->findManyToManyRowset('Application_Model_DbTable_Langue','Application_Model_DbTable_VisiteurLangue')->count();
    }
    
    public function getLanguesParlees(){
        return $this->findManyToManyRowset('Application_Model_DbTable_Langue','Application_Model_DbTable_VisiteurLangue');
//        $select = $this->select()->order("percentage desc");
//        return $this->findManyToManyRowset('Language','CountryLanguage', NULL, NULL, $select);
    }
}

?>
